<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
	<head th:replace="/pc/common::head(~{::custom_settings})">
		<th:block th:fragment="custom_settings">
			<title>订单管理</title>
			<style type="text/css">
				.grid-cell-link {
					color: blue;
					cursor: pointer;
				}
			</style>
		</th:block>
	</head>
	
	<body class="main-content">
		<div class="main-toolbar"></div>
		<div id="query-params" class="main-develop-query">
			<table><tr>
				<td><label>状态：</label></td>
				<td><div id="states" class="search-select" idField="value" textField="text" multiSelect="true" width="200" height="26"></div></td>
				<td><label>关键字：</label></td>
				<td><div id="keyword" class="search-textbox" width="200" height="26"></div></td>
				<td><input class="org-search" type="button" onclick="doSearch();" value="查询"/></td>
			</tr></table>
		</div>
		
		<div id="datagrid" class="search-datagrid main-auto-content" idField="entityid" showCheckBox="true" 
			multiSelect="true" alternatingRows="true" ondrawcell="ondrawcell">
			<div property="columns">
				<div type="checkcolumn"></div>
				<div type="indexcolumn" width="40" headAlign="center" textAlign="center">序号</div>
				<div field="orderid" width="150" headAlign="center" textAlign="left">订单编号</div>
				<div field="cybercafe" width="300" headAlign="center" textAlign="left">网吧</div>
				<div field="supplier" width="300" headAlign="center" textAlign="left">供应商</div>
				<div field="ordertotal" width="120" headAlign="center" textAlign="right">订单总额（元）</div>
				<div field="confirmtime" width="120" headAlign="center" textAlign="center">采购时间</div>
				<div field="distributetime" width="120" headAlign="center" textAlign="center">发货时间</div>
				<div field="completetime" width="120" headAlign="center" textAlign="center">收货时间</div>
				<div field="entitystate" width="60" headAlign="center" textAlign="center">订单状态</div>
			</div>
		</div>
		
		<script type="text/javascript" th:src="@{{js}/pc/order/OrderHandler.js(js=${js})}"></script>
	</body>
</html>
